package com.zijiebutiao.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Date 2023/3/7 9:49
 * @Author 干饭
 * @Email 1229219472@qq.com
 * @Version v1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("t_member")
public class TMember {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String filenumber;
    private String name;
    private String sex;
    private String idcard;
    private String phonenumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date regtime;
    private String password;
    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date birthday;
    private String remark;
}
